﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Class1
    {
        private int zhanghao;
        private string name;
        private int password;

        public int Zhanghao
        {
            get { return zhanghao; }
            set { zhanghao = value; }
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public int Password
        {
            get { return password; }
            set { password = value; }
        }
        public void Yhu(int zhanghao, string name, int password)
        {
        Console.WriteLine("账号为：{0}，用户名为：{1}，密码为：{2}", zhanghao, name, password);
         }
    }
}
